﻿using Company.IBLL;
using Company.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Evaluate.UI.Controllers
{
    public class testController : ApiController
    {
        private IUserService UserService = Company.BLLContainer.Container.Resolve<IUserService>();
        // GET api/values
        [HttpGet]
        public T_User Logins(string name)
        {
            var data = UserService.Login(name);
            return data;
        }
    }
}
